package com.guit.hrms.dto;

import jakarta.validation.constraints.Future;
import jakarta.validation.constraints.FutureOrPresent;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalTime;


@Data
public class SetCheckInTimeDTO {
    private Integer setDeptId;
    private Integer setDeptType;
    @FutureOrPresent(message = "开始日期不能早于当前日期")
    private LocalDate setStartDate;
    @Future(message = "结束日期不能早于当前日期")
    private LocalDate setEndDate;
    private LocalTime setStartTime;
    private LocalTime setEndTime;
}
